package org.sklse.learningassistant.bean.resource;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.util.List;

/**
 * @author masker
 * @date 2018/4/17 下午8:46
 */
@Entity
@Table(name = "t_knowledge")
public class Knowledge {

    @Id
    private int id;

    private String title;

    private int parentId;

    private String childIdList;

    private int periodId;

    private int subjectId;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public String getChildIdList() {
        return childIdList;
    }

    public void setChildIdList(String childIdList) {
        this.childIdList = childIdList;
    }

    public int getPeriodId() {
        return periodId;
    }

    public void setPeriodId(int periodId) {
        this.periodId = periodId;
    }

    public int getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(int subjectId) {
        this.subjectId = subjectId;
    }
}